package lyx.game.control
{
	import lyx.game.utils.KeySetting;
	import lyx.game.utils.KeyState;
	
	/**
	 * 实现键盘对对象控制的接口
	 */	
	public interface IKeyControlTarget
	{
		/**
		 * 由KeyBoardController向IKeyControlTarget传递KeyState和KeySetting，
		 * <p/>在actionByKeyState()中进行分析再根据不同的按键状态进行响应。 
		 * @param state 键盘的按键状态对象
		 * @param keyset 键盘的按键配置对象
		 * 
		 */
		function actionByKeysState(state:KeyState,keyset:KeySetting):void
	}
}